add a few macros