Template twiddling