added Shawns basic pipeline code