ADD: solution to project1