Complete exercise 2.19