qcats = {0:431,1:2327,2:9197};