reverted pipe example