Completed Exercise 4.5