add definition of function
update memoria
update new designe