Change to class DataConfig