changed name of config function.