process texts