added call to server function