finish adding functions in config file