added a sample that use the client