I'm working on third solution, combining the advantages of both. At the moment, there are some missing links. I'll see how far I can go, if I get stuck, I'll shout for help!