Finish problem 3b