adding templates for views