qcats = {0:1839,1:2927,2:3488};