few utility macros