Added randomizer and implemented randomizer.