problem 1b complete