support for remote function calls