added rotations and comments