This break statement is not going to be the thing to end your program. If there is no dictionary entry in trigrams for ```trigram_text[i], trigram_text[i + 1]``` then line 48 is going to raise a KeyError and stop your program before it gets to this break statement.

The way to fix this is to either use try/except to catch the KeyError and hit a break statement that way, or to call ```trigrams.get()``` with an optional second parameter. Feel free to fix this if you like, but I'm happy to give you the points for the assignment and have you move on, as this is good-looking code and maintains the important functionality.