small create_client extraction