Complete exercise 6.43