implemented hardcoded fft