JC: added wf_state for wf. spec passes.