paramaterize html template and pair down