Learning how to cast a vote