add mq base class