using pipelines instead of MR