refactor project day1