qcats = {0:2891,1:2893,2:3977};