added a client program to test