handling and parsing for pipeline functions