qcats = {0:1873,1:2147,2:2318};