added template views and templates