adding HTML templating