Added example for use with Core Data