testing state.go syntax