exercise 2.8 completed