Fixed 'mq' function to actually use it's arguments.