calibrated rotation code FUCKFUCKFUCKFUCK