Added for-each loop