logTemplates() global method; useful technique for dynamic templates later