recursion typo