qcats = {0:2080,1:2276,2:3189,3:9422};