Add-support-to-recursive-function