Done exercise 3.59 part a)