pipeline lib