adding gravity and third law