initial view and template.