qcats = {0:2141,1:7986,2:7987};