added mq and ie control