format macros