changing delete function