output macros