added comments to gravity