Rename info variable to state_info to avoid declaration shadowing