Removed previous process_text method
Structured more