View and Smarty added