dft code