Adjust thefunctions.