Complete exercise 1.42