chapter 10 macros