got the basic recursion method in place.