Finished Exercise 13-6