trying to get templates working again