qcats = {0:455,1:2167,2:2437};