modified qtlab