Completed Exercise 6-8