client_base rewrited