added gravity compensation