support multiple flags