introduction to templates accomplished