added functions to config global