Complete Exercise 1.42