write the client to use the wrapper as well