finished implementing the fourier...