GOT THE RECURSION WORKING