multiple instances of add_mul_m