Add flag taking