Use fast enumeration instead of normal for loop