improve readability of textBuddy.Java