simplify add_config