Modularize flag() logic
Reversed single flag() condition statement syntax
Added barre EXAMPLE