Wasn't this function used any more?