inverse dft works :DDDDDDDDDDDDD