an initial full working pipeline