talking with the server