qcats = {0:434,1:2167,2:2217};