Extended for loop to cover the list