add betting functionality