qcats = {0:431,1:2527,2:3749};