changed vote algorithm to last longer