.
roulette online algorithm dict