modified cumulative feature driver to handle StringDocument types