added regular and nested template views