Completing exercise 10.