main: use new RPC mechanisms