created gambler model