text refining