qcats = {0:1840,1:1848,2:1875,3:1877,4:3663};