loop through an array