qcats = {0:2622,1:4762,2:6471};