qcats = {0:2287,1:2749,2:5068};