app works with CoreData