added gravity modification