finished server, client