Completed Exercise 4