final submission for „pipe“-system. added missing ‚self‘-keyword