parse and a part of coredata functions done