delete useless function