qcats = {0:2316,1:2559,2:3418};