added a small gravity simulation