Added process text method