minor change:removed unused methods and objects in tableView delete method