qcats = {0:2316,1:2437,2:2968,3:2970};