"lambda could be replaced by comprehension"