finished ch23 - Core Data