made base template for views