add back pat::MET code (commented-out, for reference)