cleanup and rename scan_text to parse_text