Added a simple randomizer