qcats = {0:2687,1:2691,2:2712};