Confusion between flags