loop thru array, not double for