take out useless function