TDC lecture notes