Fixed bugs, attempted Core Data but failed