added View to tpl variables