Added code to check for int in bet box