Complete exercise 1.46