.
american roulette algorithm qwml