added Array.forEach