.
roulette online algorithm rmod