more work on the config structure