moving some stateful uv methods into ClientBaton