flagging state debug