added templates setting