added subfunctions for qpcRanalyser()