small changes for fourier analysis