nested loop executor