made wording generic.  Added very simple templating.