adding correct root