added view and template