repeat handled by templateIterator, working on nested template support