Basic idea of pipes - do not work yet