unwanted function deleted