what is the purpose of a template - c templates in plain english