Rename recursive method