Complete exercise 1.11