qcats = {0:458,1:466,2:1859};