Removed function that isn't used