Project problem 3a solution