replace the maigc numbers with the macro