trying to get the server function called in the client.