remove function no longer used