An improved description of the core can be obtained by uncontracting the core functions in standard Gaussian basis sets or by using basis sets containing core polarization functions, such as those in the cc-pCVXZ sequence. 107 Spectra obtained using uncontracted versions of def2-TZVPD and aug-cc-pCVTZ are virtually identical (Fig. ), and furthermore the difference between normal (contracted) def2-TZVPD and uncontracted augcc-pCVTZ is only about 1 eV for H 2 S and 0.5 eV for CH 3 Cl. As such, the net effect of uncontracted basis sets for H 2 S is that the shift required to match experiment is reduced from 28 eV (def2-TZVPD) to 27 eV (uncontracted aug-cc-pCVTZ or def2-TZVPD). For CH 3 Cl, both basis sets afford essentially identical spectra that are shifted from experiment by ca. 28 eV. Both of these results are an improvement over the corresponding TD-CAM-B3LYP/def2-TZVPD calculations, which require shifts of 45 eV (CH 3 Cl, Fig. ) and 41 eV (H 2 S, Fig. ) in order to match experiment. Still, the shifts required for XES using CAM-B3LYP/CIS are larger than those required for XANES, and basis-set effects do not explain this discrepancy.