added basis for core data