Removed an unsed function