client.c added