ending pipe was a bad idea