chord with rpc implementation