* minor cleanup on rotation code