Added exercise 2.7