randomizer for pairing