Added FFT code