I don't have a solution, but I'm curious: Is it possible to solve Quiz #2 in a purely functional way, without a temporary "stack" variable? -Stuart