Done exercise 3.50