I don't quite understand how this applies. Is there a better way to determine the mode of the flag than checking the string?