- redefine the api client structure