Flagging and how to avoid it