qcats = {0:1784,1:1875,2:1877,3:3663};