Renamed state variable to be more consistent with server