flag state inspection