Added some explanations for how to use templates