init version of mini-rpc