I assume that the sample input is something like => love?water!WorLd?H3lle In the case of -> worldworld234,ELSworldo2? , will the result be 2? or 0? The error message shows that I am not counting all the instances of "world", although I've already tested this solution locally. Essentially the code in the while loop goes like: - Read the character and convert it into a string - If this character (in string form) is a puunctuation, then check to see if the length of stringbuilder is 5, then, check to see if its String version equals to "world", if not just reinitialize a new StringBuilder. - If this character is not a punction, then it's still a part of a word, so simply append it to StringBuilder (sb), Any advice would be greatly appreciated 😊