qcats = {0:1867,1:2854,2:7520};