remove senseless functions