dry up get_put_monitor_eqc with macros