arrange for server and client.