Qcumber implementation 1