Simplified rotation code