Added flags case/switch