setting up MQL