ajust some function.