changed pipeline to r_and_j