removing useless function.