replaced rpc to cpc