refactoring of the work done in the day