qcats = {0:1877,1:2116,2:3142,3:3143,4:3144};