testing and bugfixing QC