use set comprehension instead of set([...])