qcats = {0:2669,1:2671,2:4097};