added gravity and friction