Refactor code at end of day.