create and modify simple macros