using a plugin to load external templates
support avg_height as well as avg(height)
more explicit demo

create templates when instantiating templates
more readable...