Complete exercise 2.2.