qcats = {0:1783,1:1875,2:1878,3:2322,4:3663};