working makepipeline