make remote function calls support multiple arguments