rename client state to be consistent with documentation