modifying smarty