in reply to nested variable resolution

Thanks to everyone for your comments -- I have a working solution and a lot to go on now! mpettis