.
roulette online algorithm inld