added some voting algorithms