qcats = {0:457,1:1840,2:6043};