use new sr_config struct