added comments about templating