added the rotation mode enum