qcats = {0:1873,1:2437,2:3186};