qcats = {0:2534,1:2643,2:4031};