optimizations + while endwhile php tag navigation