rename variables in Search_root()