better use of MIR API