working rotation and cleanup