adding qual checks