minor modifications to make pipeline