templates: added array containg objects