Reference the right template