Added exercise 3.6