Project problem 2b solution