qcats = {0:518,1:522};