delete useless funcctions