delete function operational