qcats = {0:4571,1:4989,2:5028,3:5199};