qcats = {0:2543,1:3184,2:6893};