qcats = {0:592,1:6344,2:9454};