Finished Exercise 6-3