Completed Exercise 7