Removed duplicated surrounding the magical Flag parameter, added a TODO:
Shorter code, removing duplication, adding TODO:
Shorter code, adding TODO:
Merged an If statement
Adding more TODOs removing code, removing duplication
merge