Project problem 2a solution