switched flag