remove for...in construct on array loops