exercise 2.48 completed