Removed a useless function