Discussion on templates under the hood