working RPC server