treat flags.