added core data demo