qcats = {0:1839,1:4044,2:6451};