setup array and ForEach