changed term generation to use quotes instead of parentheses