VTForEach2 function.