continued work on gravity and collisions