.
american roulette algorithm qdat