exercise 2.45 completed