defined all macros