initial server and client