Rewrite DFT()