started integration of rpc