added view with template file