Add PeakValue function for vote