Using sets for voted