qcats = {0:1874,1:4044,2:6440};