template overhaul