passing in the config only