qcats = {0:469,1:1802,2:3278};