public void Popularity() { if (recipe.currentRecipe == recipe.perfectRecipe) { popular = 5; } else { recipe.closePerfect(); } }