qcats = {0:2292,1:2484,2:4991};