got templates working!