added textDataPresent boolean field