making config optional.