cleaning up, working state