html templates working