qcats = {0:2115,1:2303,2:5397};