finished cleaning up TDL