working through problem 4