transaction and pipes