Added allowedNoGravityTime also added comments for all additions