exercise 2.35 completed