Adding at least one non-silicon precursor (such as a germanium precursor,
a carbon precursor, etc.) during formation of a silicon nitride, silicon
oxide, silicon oxynitride or silicon carbide film improves the deposition
rate and/or makes possible tuning of properties of the film, such as
tuning of the stress of the film. Also, in a doped silicon oxide or doped
silicon nitride or other doped structure, the presence of the dopant may
be used for measuring a signal associated with the dopant, as an
etch-stop or otherwise for achieving control during etching.