Simpler voting function