Removed function no longer used