added a paste parameter to QC