passing through the config pointer