rpc defs
merging rpc choose id def