Wow ... thanks, that's just what I was looking for ... :-) Nice code. I have a few other dilemmas, what about an elongated orbit ... like an asteroid or comet. How would I teach these objects to be aware of each other ... and know when they are close to one another or side by side??