exercice of using pipe