qcats = {0:492,1:2403,2:2437};