Handle walking through peaks and troughs