rotation and rendering