qcats = {0:1767,1:1879,2:2313};