qcats = {0:2544,1:4074,2:7339};