added arrayEach()