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