state.py: high => high_, to avoid shadowing the func