qcats = {0:1859,1:4749,2:6819};