drop useless functions