qcats = {0:2316,1:3418,2:6192};