pass in the client for the example