added basic gravity example