solve exercise 42.14