notes on macros