Use DoRec instead of RecursiveDo.