respect the optional flags