added smarty plugins