added paps to text processing