Randomize algo updated with events