how to get the peaks