qcats = {0:2804,1:3482,2:7219};