Enforced rotation: corrected variable type