add core data stuff