process text