Yes your adaptation of the original code was pretty good, but does not fully work. Truth is, this is a bit more complicated. I will see what I can do and post the results.