IText refactoring