built an entity object in Core Data