for each array