SImplified the get_client