Getting the collection and iterating