qcats = {0:1785,1:3664};