initial implementation.
create client in init to avoid checking on each request.