qcats = {0:1859,1:3348,2:3941};