added gravity effect