better templates structure