Note Jeff Phillips approach to exercise 5.1