add core data learning