moved into setConf