qcats = {0:1871,1:2349,2:4707};