remake of D1- fourier