updated examples to match current syntax for macros