qcats = {0:455,1:1819,2:5186};