exercise 2.42