adding FFT code