optimizing vote and election views