uploaded project2 solution