implementing better spaceship moving model