ok, it gets more complex. There are hard-coded constants which I'm going to need to try to make less hardcoded. Going offline for a while to work this out. ron