Saving state of work