groundwork for CoreData support