added FFT on pulses