used fast enumeration for looping syntax