simplify handling of configuration