added rpc and delete