more templating to main views