qcats = {0:1840,1:2213,2:3874};