inline commonly used macros