formatting on flags adjusted