ch03 Exercise 2.10