latest version w/ HTML templating