updating config, removing extra function