adjusted the rotations and added acceleration