clean up and example simple client.