A set makes more sense (and is faster) than list here