for-loop instead of for-in