qcats = {0:1871,1:2220,2:4034};