bare minimum DFT loop example