im abit concerned that this actually mutates my global config