exercise 2.26 completed