use line to refactor pkText()