modified pipeline