Completed Exercise 12.