added core data observer