Finished Exercise 1.4.10