Added exercise 40.