adding qcm