restored template