reset and randomizer