handling some rotations