another example
pass list of theTemplates to getModel as well