This was the approach we used when we developed our favorite universal roulette tool.