simple `for x in arr` loop