enhance RPC method