qcats = {0:467,1:1859,2:2860};