extract init_config() helper method