after  flags set