add RNG and DFT