Complete exercise 2.36