just a side note...
notice that the shortest code is not missing any endif's or loop's
one could say, it's syntaxwise perfect code.