overhaul tsd pipeline