Reduced code for keep tracking of rotation