added magic-rotation