add method "deleteCoreDataObject"