qcats = {0:2679,1:6312,2:6914};