working on wager functionality