NEW FUNCTION: delete function modifying

not complete