type in client.c