changing Bet class