making config optional