Added the other side of rpc