Implemented rotations.