Adding pipe utils functions