fomated flags and ls