Please do constructive criticism by posting a better way to do it instead of just saying that's a stupid way to do it.
I just said about what I thought and had in my mind at that time. Y_Less gave the answer to his question and I've also helped the poster through PM as he requested. Not everything is done is public...