んだからfunction threadedpipeを作って見やすくしたいっつってんだろ