clarify the wait_for_state