removed useless function