Minor issues with bets, otherwise funcitonal