refined macros