added coreData framework