use luafun.each