I think I see the answer. Since the procedure doesn't complete, as Keith stated, until it has stepped through the process the given number of times, it isn't calcing anything until it's through, then steps backwards through the process as you've shown to complete the function. Woohoo! I finally understand. Now I just need to find something to write one.