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