modified pipeline
added backward pipeline