Added to project the betting method