qcats = {0:431,1:1788,2:1789,3:2115,4:2259,5:5575,6:5588};