tried adding some betting functionality, revise