qcats = {0:1782,1:2447,2:4572};