exercise 1.42 completed