working on betting system front end