new version of redwood2.pl -- added recursivity !