John Leyto exercise 2.6