working on flags