qcats = {0:462,1:492,2:2097};