Having problems getting the recursion to work.