#rpc3 optimization