qcats = {0:1829,1:2316,2:2583};