public void GettingLemonsPitcher(Inventory inventory, Recipe recipe) { Console.WriteLine("How many lemons do you want to have per pitcher?"); numberOfLemonsPerPitcherInput = Console.ReadLine(); try { numberOfLemonsPerPitcher = Convert.ToInt32(numberOfLemonsPerPitcherInput); inventory.CheckingInventoryLemons(inventory, recipe); } catch { Console.WriteLine("You didnt type in a number. try again"); GettingLemonsPitcher(inventory, recipe); } }