Complete exercise 4.