added rebecca's updated DatabasePipeline