added core data.