completed finding the rotation position