Added switching templates