A little boilerplate work on betting