added extra fields to html templates