add of smarty