added basic pipeline support