Solved recursion yay