Recursion glitch solved!