mapping macros