added coredata model