Use for comprehension instead of Enum.traverse