some comments in state.js