parser to reweigh priority