removed for-of loop for chrome compatibility