a reliable helper for CoreData.