working but detection should move to the asteroid class