added attributes to core data