flags simplified