pulled hyphenator out to a method