making votes even DRYer