adding gravity obj