Rotation code integration