Add the data_config as optional function