Added Fourier code