complete exercise 2.36