exercise 2.34 completed