diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -5,6 +5,8 @@
 import bisect
 import itertools
 import functools
+
+
 class Solution:
-    def arrangeWords(self, text: undefined_str) -> str
+    def arrangeWords(self, text: str) -> str:
         return " ".join(sorted(text.split(), key=len)).capitalize()
