wrote basic gravity and jumping system