Adding fft analysis