Sorry I wrote the last comment before I had a proper look at your link, I was anticipating problems where there were none. I agree with your implementation.