Completed Exercise 6.3