add some macros