completed ex13.b