Added correct flgWri