debugging rotations