Completed exercise 18.