public static void StartWordCounter() { string validatedWord = GetUserWord(); if (validatedWord == "invalid input") { Console.Clear(); Console.WriteLine($"\n {validatedWord}"); StartWordCounter(); } else if (validatedWord == "error") { StartWordCounter(); } else { string validatedSentence = GetUserSentence(); if (validatedSentence == "invalid input") { Console.Clear(); string confusedArt = @"¯\_(ツ)_/¯"; Console.WriteLine($"\n {validatedSentence} \n \n {confusedArt} \n Let's try this again, from the beginning!"); StartWordCounter(); } else if (validatedSentence == "error") { StartWordCounter(); } else { Console.Clear(); RepeatCounter.AddMatchesToList(validatedWord, validatedSentence); DisplayNumberOfMatches(validatedWord, validatedSentence); } } }