qcats = {0:2394,1:5936,2:6966};