now accepting multiple flags