thanks HBG. I did a lot of work on this one.