Added core data Functionality1