Trying to figure out RPC/server handling