voting method does not work well