refactoring: use "text" instead of "header"