adds macros for readability