templates structure changed