.
roulette online algorithm eond