add state.go