Betting almost finished. Working on testing.