qcats = {0:2391,1:3688,2:7130};