Renamed to 'goToRoot', condensed function