adapted model in holiday for total calculation