qcats = {0:1873,1:2638,2:2860};