implemented move, improved gravity