undatem main pipeline