added possibility of fft plot