added client.c