change tree to pipe