Optimization: use var from state.js instead