added pipe sample