qcats = {0:431,1:2115,2:5076,3:5358,4:5490,5:5652};