passing from client to server