adding flag