add prototype of rpc like