Removed useless function