Done exercise 3.6