adjusting flagging