qcats = {0:2587,1:2591};