config, functions added