added core data