preliminary version of pipeline
minor