removing useless function