Complete exercise 11.1