qcats = {0:2564,1:2604,2:3071};