merged macros