templating system, implementation start