refactoring, rich text