again missing syntax in state.js