* added lots of qDebug() statements