Renamed delete function