asteroid class without encapsulation