removed unnecessary qDebug() calls