Added exercise 4-7