started to add core data but not done