Assignment 6: Core Data updated.