completed exercise 12.