qcats = {0:2856,1:4971,2:6966};