split pipeline creation from pipeline execution