handle new template array result