working on the client-server comm.