making create_client