Added basic gravity check.