Use Set instead of Bag