Removed function that is never used