"Iterating over a list and filtering" OR "Iterating over a filtered List"