added core data save and fetch